tools/vtpm: use LDLIBS to pass -lgmp
authorOlaf Hering <olaf@aepfle.de>
Fri, 4 May 2012 17:43:25 +0000 (19:43 +0200)
committerOlaf Hering <olaf@aepfle.de>
Fri, 4 May 2012 17:43:25 +0000 (19:43 +0200)
commit10626831dc0e16c6b981e6c331abe0b1b96d38a6
tree944cee817cadadbc2e3e5de6846f9cb0cc5a29ea
parentb1c2cf9846457f620756050074022928a1bbf81d
tools/vtpm: use LDLIBS to pass -lgmp

Linking tpmd will fail with recent toolchains because -lgmp is passed
via LDFLAGS instead of LDLIBS. With this change -lgpm is placed at the
end of the gcc cmdline and linking tpmd succeeds again.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/vtpm/Makefile
tools/vtpm/vtpm-0.5.1-LDLIBS.patch [new file with mode: 0644]